package com.example.restatr.Bean;

import java.util.List;

public class AddressBean {


    private String msg;
    private int code;
    private List<DataBean> data;
    public static class DataBean {


        private int id;
        private int userId;
        private String name;
        private String phone;
        private String addressDetail;
        private String houseNumber;
        private String label;

        public int getId() {
            return id;
        }

        public int getUserId() {
            return userId;
        }

        public String getName() {
            return name;
        }

        public String getPhone() {
            return phone;
        }

        public String getAddressDetail() {
            return addressDetail;
        }

        public String getHouseNumber() {
            return houseNumber;
        }

        public String getLabel() {
            return label;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", userId=" + userId +
                    ", name='" + name + '\'' +
                    ", phone='" + phone + '\'' +
                    ", addressDetail='" + addressDetail + '\'' +
                    ", houseNumber='" + houseNumber + '\'' +
                    ", label='" + label + '\'' +
                    '}';
        }
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public List<DataBean> getData() {
        return data;
    }

}
